// vite.config.ts
import { defineConfig } from "file:///Users/moliyu/workspace/fa-merger-ui/node_modules/vite/dist/node/index.js";
import vue from "file:///Users/moliyu/workspace/fa-merger-ui/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import VueJsx from "file:///Users/moliyu/workspace/fa-merger-ui/node_modules/@vitejs/plugin-vue-jsx/dist/index.mjs";
import AutoImport from "file:///Users/moliyu/workspace/fa-merger-ui/node_modules/unplugin-auto-import/dist/vite.js";
import Components from "file:///Users/moliyu/workspace/fa-merger-ui/node_modules/unplugin-vue-components/dist/vite.js";
import Unocss from "file:///Users/moliyu/workspace/fa-merger-ui/node_modules/unocss/dist/vite.mjs";
import { AntDesignVueResolver } from "file:///Users/moliyu/workspace/fa-merger-ui/node_modules/unplugin-vue-components/dist/resolvers.js";
import path from "path";
var __vite_injected_original_dirname = "/Users/moliyu/workspace/fa-merger-ui";
console.log("mmm", import.meta.env);
process.exit();
var vite_config_default = defineConfig({
  plugins: [
    vue({
      script: {
        defineModel: true
      }
    }),
    VueJsx(),
    AutoImport({
      imports: [
        "vue",
        "pinia",
        "@vueuse/core",
        "vue-router",
        {
          "ant-design-vue": ["message", "modal", "Form"],
          store2: [["default", "st"]],
          "lodash-es": ["cloneDeep", "pick", "omit"],
          classnames: [["default", "cn"]]
        }
      ],
      dts: "./src/auto-imports.d.ts",
      dirs: ["./src/hooks", "./src/utils", "./src/types"],
      vueTemplate: true
    }),
    Components({
      include: [
        /\.[tj]sx?$/,
        // .ts, .tsx, .js, .jsx
        /\.vue$/,
        /\.vue\?vue/
        // .vue
      ],
      // extensions: ['vue', 'tsx'],
      resolvers: [
        AntDesignVueResolver({
          importStyle: false
        })
      ],
      dirs: [],
      dts: "./src/auto-components.d.ts"
    }),
    Unocss()
  ],
  resolve: {
    alias: {
      "@": path.resolve(__vite_injected_original_dirname, "./src/")
    }
  },
  server: {
    host: "0.0.0.0",
    proxy: {
      "/merger": {
        target: "http://merger.aidev.hancode.com",
        changeOrigin: true,
        rewrite: (path2) => path2.replace(/^\/merger/, "")
      },
      "/selection": {
        target: "http://selection.aidev.hancode.com",
        changeOrigin: true,
        rewrite: (path2) => path2.replace(/^\/selection/, "")
      }
    }
  },
  build: {
    outDir: "dist",
    assetsDir: "assets",
    terserOptions: {
      compress: {
        drop_console: true,
        drop_debugger: true
      }
    },
    minify: "terser"
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCIvVXNlcnMvbW9saXl1L3dvcmtzcGFjZS9mYS1tZXJnZXItdWlcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZmlsZW5hbWUgPSBcIi9Vc2Vycy9tb2xpeXUvd29ya3NwYWNlL2ZhLW1lcmdlci11aS92aXRlLmNvbmZpZy50c1wiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9pbXBvcnRfbWV0YV91cmwgPSBcImZpbGU6Ly8vVXNlcnMvbW9saXl1L3dvcmtzcGFjZS9mYS1tZXJnZXItdWkvdml0ZS5jb25maWcudHNcIjtpbXBvcnQgeyBkZWZpbmVDb25maWcgfSBmcm9tICd2aXRlJztcbmltcG9ydCB2dWUgZnJvbSAnQHZpdGVqcy9wbHVnaW4tdnVlJztcbmltcG9ydCBWdWVKc3ggZnJvbSAnQHZpdGVqcy9wbHVnaW4tdnVlLWpzeCc7XG5pbXBvcnQgQXV0b0ltcG9ydCBmcm9tICd1bnBsdWdpbi1hdXRvLWltcG9ydC92aXRlJztcbmltcG9ydCBDb21wb25lbnRzIGZyb20gJ3VucGx1Z2luLXZ1ZS1jb21wb25lbnRzL3ZpdGUnO1xuaW1wb3J0IFVub2NzcyBmcm9tICd1bm9jc3Mvdml0ZSc7XG5pbXBvcnQge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HVkZTogW1xuICAgICAgICAvXFwuW3RqXXN4PyQvLCAvLyAudHMsIC50c3gsIC5qcywgLmpzeFxuICAgICAgICAvXFwudnVlJC8sXG4gICAgICAgIC9cXC52dWVcXD92dWUvLCAvLyAudnVlXG4gICAgICBdLFxuICAgICAgLy8gZXh0ZW5zaW9uczogWyd2dWUnLCAndHN4J10sXG4gICAgICByZXNvbHZlcnM6IFtcbiAgICAgICAgQW50RGVzaWduVnVlUmVzb2x2ZXIoe1xuICAgICAgICAgIGltcG9ydFN0eWxlOiBmYWxzZSxcbiAgICAgICAgfSksXG4gICAgICBdLFxuICAgICAgZGlyczogW10sXG4gICAgICBkdHM6ICcuL3NyYy9hdXRvLWNvbXBvbmVudHMuZC50cycsXG4gICAgfSksXG4gICAgVW5vY3NzKCksXG4gIF0sXG4gIHJlc29sdmU6IHtcbiAgICBhbGlhczoge1xuICAgICAgJ0AnOiBwYXRoLnJlc29sdmUoX19kaXJuYW1lLCAnLi9zcmMvJyksXG4gICAgfSxcbiAgfSxcbiAgc2VydmVyOiB7XG4gICAgaG9zdDogJzAuMC4wLjAnLFxuICAgIHByb3h5OiB7XG4gICAgICAnL21lcmdlcic6IHtcbiAgICAgICAgdGFyZ2V0OiAnaHR0cDovL21lcmdlci5haWRldi5oYW5jb2RlLmNvbScsXG4gICAgICAgIGNoYW5nZU9yaWdpbjogdHJ1ZSxcbiAgICAgICAgcmV3cml0ZTogcGF0aCA9PiBwYXRoLnJlcGxhY2UoL15cXC9tZXJnZXIvLCAnJyksXG4gICAgICB9LFxuICAgICAgJy9zZWxlY3Rpb24nOiB7XG4gICAgICAgIHRhcmdldDogJ2h0dHA6Ly9zZWxlY3Rpb24uYWlkZXYuaGFuY29kZS5jb20nLFxuICAgICAgICBjaGFuZ2VPcmlnaW46IHRydWUsXG4gICAgICAgIHJld3JpdGU6IHBhdGggPT4gcGF0aC5yZXBsYWNlKC9eXFwvc2VsZWN0aW9uLywgJycpLFxuICAgICAgfSxcbiAgICB9LFxuIC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